home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1999 January / EnigmA AMIGA RUN 33 (1999)(G.R. Edizioni)(IT)[!][issue 1999-01].iso / earcd / faq / amiga / introduction / part1.z / part1
Text File  |  1999-01-01  |  39KB  |  922 lines

  1. Path: senator-bedfellow.mit.edu!bloom-beacon.mit.edu!gatech!swrinde!tank.news.pipex.net!pipex!blackbush.xlink.net!zib-berlin.de!news.uni-ulm.de!news.belwue.de!news.uni-stuttgart.de!uni-regensburg.de!lrz-muenchen.de!informatik.tu-muenchen.de!kellerer
  2. From: kellerer@informatik.tu-muenchen.de (Ignaz Kellerer)
  3. Newsgroups: comp.sys.amiga.introduction,comp.sys.amiga.misc,comp.sys.amiga.programmer,comp.answers,news.answers
  4. Subject: Amiga FAQ (Frequently asked questions) (Part 1 of 4)
  5. Supersedes: <AmigaFAQ-1-824230821@informatik.tu-muenchen.de>
  6. Followup-To: comp.sys.amiga.introduction
  7. Date: 9 Apr 1996 16:00:25 GMT
  8. Organization: InternetNews at TUM, Technical University of Munich, Germany
  9. Lines: 899
  10. Approved: news-answers-request@MIT.EDU
  11. Distribution: world
  12. Expires: Sunday, 12 May 96 18:00:24 MESZ
  13. Message-ID: <AmigaFAQ-1-829065624@informatik.tu-muenchen.de>
  14. Reply-To: kellerer@informatik.tu-muenchen.de (Ignaz Kellerer)
  15. NNTP-Posting-Host: hphalle3g.informatik.tu-muenchen.de
  16. Content-Type: text/plain; charset=ISO-8859-1
  17. Content-Transfer-Encoding: 8bit
  18. Summary: Frequently asked questions on the Amiga.
  19.          New users should read this!
  20. Originator: kellerer@hphalle3g.informatik.tu-muenchen.de
  21. Xref: senator-bedfellow.mit.edu comp.sys.amiga.introduction:9129 comp.sys.amiga.misc:118851 comp.sys.amiga.programmer:89232 comp.answers:18065 news.answers:69086
  22.  
  23. Posted-By: auto-faq 2.4
  24. Archive-name: amiga/introduction/part1
  25. Last-modified: Tuesday, 9. March 1996
  26. Posting-Frequency: ever fourth week
  27.  
  28.  
  29.       Frequently asked questions (FAQ) concerning the Amiga. [1/4]
  30.       ------------------------------------------------------------
  31.  
  32. Below you find a list of frequently asked questions. It should especially
  33. be for new users but perhaps experienced users may find something too.
  34. This is part 1, the second begins with chapter 4, the third with chapter 5,
  35. the fourth with chapter 7.
  36.  
  37. It is in Ascii format to be easily read by everyone. It is also available
  38. in AmigaGuide, Dvi and html (for WWW servers) format as part of the Amiga-FAQ
  39. archive. (File docs/misc/AmigaFAQ.lha on any Aminet site)
  40.  
  41. Please note the following:
  42.  
  43.   - Changes since the last posting are marked with a
  44.     !    changed this line/section, respectively
  45.     +    added this line
  46.     <    removed something before this line
  47.  
  48.   - An index is at the bottom of part 4. If this still doesn't help:
  49.     E-mail me, probably I can include an answer into the FAQ.
  50.  
  51.   - Suggestions, contributions, critics and beer bottles are very
  52.     welcome. :-) Send them to:
  53.  
  54.         Ignaz Kellerer
  55.         Georg-Habel-Str. 11
  56.       81241 Muenchen (Germany)
  57.         Tel. (+49) 089 / 885147
  58.  
  59.         Internet: kellerer@informatik.tu-muenchen.de
  60.  
  61. ===========================(Cut here)=========================================
  62.  
  63.   Amiga-FAQ
  64.   *********
  65.   
  66.      This document lists some frequently asked questions and tries to
  67.   give answers.  Its intention is to help new users and to reduce the
  68.   amount of news that most experienced users don't like to read anymore.
  69.   
  70.      Please notice that there are many questions that aren't answered yet,
  71.   even more: Whole sections that remain empty! I feel that I cannot give
  72.   satisfying answers. So it's your turn: Fill the gaps and tell me what i
  73.   should include into this document!
  74.   
  75.  
  76.   Disclaimer
  77.  
  78.   1 CPU, Custom chips, RAM and other stuff
  79.     1 What are 68EC020, 68EC030 and 68LC040?
  80.     2 What's an FPU?
  81.     3 Can I use a 3.5' HD in my A1200?
  82.  
  83.   2 The Operating System
  84.     1 Can I use another Kickstart than the builtin?
  85.     2 The Graphical User Interface
  86.     3 What is MUI?
  87.       1 Icon collections and Backgrounds
  88.     4 What is the Amiga equivalent of . (Current directory)?
  89.     5 The PIPE: queue-handler
  90.       1 Using PIPE: in a standard AmigaShell environment
  91.       2 The Pipe command
  92.       3 Pipe command support in AmigaShell
  93.       4 Quick usage guide
  94.       5 Related things
  95.       6 Troubleshooting
  96.     6 ARexx, the program control language
  97.  
  98.   3 How about Graphics?
  99.     1 What are chunky and planar displays?
  100.     2 What is doublebuffering?
  101.     3 What monitors will work on my Amiga 1200/4000?
  102.     4 How do I switch between PAL and NTSC?
  103.  
  104.   4 Programming
  105.     1 What documentation do I need as an Amiga programmer?
  106.     2 What is CATS?
  107.     3 Where do I get the Amiga includes?
  108.     4 How do I become a developer?
  109.     5 What compilers (assemblers) are there?
  110.     6 Those never working Esc sequences!
  111.     7 Is it possible to use AmigaBasic on the A1200?
  112.     8 How do I localize my program?
  113.     9 How to obtain a pointer to a console's window
  114.     10 What are pragmas?
  115.     11 My Compiler/Linker is complaining about missing symbol xxx.
  116.     12 Where do I find the function xxx?
  117.     13 The GNU C compiler: general information and installation
  118.       1 Current Version
  119.       2 Requirements
  120.       3 Authors
  121.       4 Sources for Gcc
  122.       5 Inline Headers
  123.       6 Amiga Libraries
  124.       7 Installation
  125.       8 Compiling
  126.       9 How to get help
  127.  
  128.   5 Applications
  129.     1 Text Editors
  130.     2 What word processors are there?
  131.     3 Desktop Publishing
  132.     4 What is TeX and where can I get it?
  133.     5 Are there any Postscript interpreters?
  134.       1 Amiga Font Formats
  135.       2 Frequently Requested Amiga Fonts
  136.       3 Commercial Font Sources
  137.       4 Non-Latin fonts on the Amiga
  138.       5 Amiga Font Installation
  139.       6 Amiga Font Utilities
  140.       7 Making Outline Fonts
  141.       8 Problems and Possible Solutions
  142.     6 How to deal with Non-Latin texts?
  143.       1 Japanese editors and viewers
  144.       2 Chinese text viewers
  145.  
  146.   6 Connecting your Amiga to the world
  147.  
  148.   7 Emulators
  149.     1 Can I run Unix on my Amiga?
  150.     2 Is it possible to use the Amiga as X11 terminal?
  151.     3 Is there a way to start MS-Dos programs?
  152.     4 How to mount MsDos-formatted Syquests on Amiga
  153.  
  154.   8 Miscellaneous
  155.     1 Is there any unix version of LhA?
  156.     2 What are files ending with ...?
  157.     3 Is there a Stacker-like utility to pack my hard drive?
  158.     4 Where do I get Fish disk xxx?
  159.  
  160.   9 Where and how do I get software and other informations?
  161.     1 Files and databases on freely distributable software
  162.     2 A collection of tests
  163.     3 Getting files from a FTP server
  164.     4 Getting files from a Mail server
  165.     5 Getting files from a mailbox
  166.     6 The Fish PD series
  167.       1 The Amiga Library disks
  168.       2 The Fresh Fish CD-Roms
  169.     7 How do I Read and write MS-Dos disks?
  170.     8 How do I split large files?
  171.     9 Discussing things
  172.     10 Other FAQ's
  173.  
  174.   The Amiga-FAQ archive
  175.  
  176.   Contributions
  177.  
  178.   Credits
  179.  
  180.   Index
  181.  
  182.  
  183.  
  184.   Disclaimer
  185.   **********
  186.   
  187.      This document is
  188.   
  189.        Copyright (C)  Ignaz Kellerer
  190.                        Georg-Habel-Str. 11
  191.                  81241 Munich (Germany)
  192.                        Tel. (+49) 089 / 885147
  193.                        Internet: kellerer@informatik.tu-muenchen.de
  194.   
  195.      Permission is granted to make and distribute verbatim and modified
  196.   copies of this document following the terms of the "GNU General Public
  197.   License" provided the copyright notice and this permission notice are
  198.   preserved on all copies.
  199.   
  200.      The author gives *absolutely no* warranty that the answers given
  201.   here are correct or usable. Many of them were contributed by other users
  202.   and I cannot even make marginal checks. If you think that something
  203.   should be changed, please tell me. Suggestions, contributions, new
  204.   answers, critics, flames (oh, how I like this `nil:' :-) are rather
  205.   welcome.  See Contributions.
  206.   
  207.   1 CPU, Custom chips, RAM and other stuff
  208.   ****************************************
  209.   
  210.      This chapter contains questions concerning the Amiga-Hardware.
  211.   
  212.   1.1 What are 68EC020, 68EC030 and 68LC040?
  213.   ==========================================
  214.   
  215.      Motorola, the company producing the 680x0 family offers crippled
  216.   versions of their processors. They are a little bit cheaper than the
  217.   originals, that's why Commodore decided to build the 68EC020 into the
  218.   A1200 and the 68EC030 into the A4000/030.
  219.   
  220.      The difference between the 68020 and the 68EC020 is that the latter
  221.   can address just 16Mb of memory. That's why the A1200 cannot have more
  222.   that 10 Mb RAM. In most cases you will not notice the difference.
  223.   
  224.      This is not the case for the 68EC030: Many owners will notice that
  225.   the 68030 has an MMU and the 68EC030 doesn't have. There are some
  226.   important programs depending on an MMU, for example Enforcer (a
  227.   debugging utility), GigaMem (a program to emulate virtual memory) or
  228.   all current Unix versions (see Unix). Other Amigas than the A4000 and
  229.   the A3000 need an additional processor card using a 68030 or 68040 or
  230.   68060 to run these.
  231.   
  232.      Finally the 68LC040 is a 68040 without FPU. See FPU.
  233.   
  234.   1.2 What's an FPU?
  235.   ==================
  236.   
  237.      The first 680x0 processors (upto 68030) could process integers only.
  238.   Floating point operations had to be emulated by the software. An FPU is
  239.   a chip (or part of a chip) that can process floating point operations, a
  240.   mathematical coprocessor.
  241.   
  242.      One separates three FPU types on the Amiga: The 68881, 68882 and the
  243.   68040's internal FPU. The 68882 is up to 1.5 times faster than the
  244.   68881, because it is splitted in two parts: A conversion unit (the
  245.   FPU's are using an 80 bit format internally) and the arithmetic unit.
  246.   The 68040's internal FPU adds a pipeline, but misses the trigonometric
  247.   instructions of the others. These are still emulated by the software,
  248.   68040.library for example.
  249.   
  250.      Special programs (Raytracing, DTP, Mathematics, TeX) are offered in a
  251.   special coprocessor version which are up to 50 times faster than the
  252.   original versions.
  253.   
  254.      Michael Kaiser (kaiser@ira.uka.de)
  255.   
  256.   1.3 Can I use a 3.5' HD in my A1200?
  257.   ====================================
  258.   
  259.      Many people would prefer to use a 3.5" instead of the smaller 2.5"
  260.   drives as the former are much cheaper. This is possible, but you need a
  261.   special cable to connect the drive to your IDE controller. Additionally
  262.   you should put some isolating material between the drive and the main
  263.   board. Some people report termic problems but I did not notice anything.
  264.   
  265.      Some dealers offer a set which contains the cable, isolating material
  266.   and for about 20$. See the magazines for more information.
  267.   
  268.      Thomas Schuh (thomas@stepout.tynet.sub.org)
  269.   
  270.      If you are going to install an IDE-harddisk, regardless if 2.5" or
  271.   3.5", you should always consider that the it may not work flawlessly,
  272.   if the drive and ROM-version have not been tested and approved by
  273.   Commodore. Regarding the A1200, one should also remember that this
  274.   Amiga has not been designed to hold 3.5" harddisk drives. The 2.5"
  275.   drives, which are mainly thought for portable computers, may have some
  276.   advantages (for example in power consumption, heat emission or shock
  277.   resistance) that could pay off because of the small keyboard case of
  278.   the A1200 and the limited power supply. With the larger 3.5" drives,
  279.   ventilation inside the computer might also be disturbed. If it is
  280.   necessary to remove some shielding inside the A1200 to make the drive
  281.   fit inside, even radio interference may occur.
  282.   
  283.      To sum it up: if 3.5" harddisk drives could really be used in the
  284.   A1200 without any problems, you could be sure Commodore themselves
  285.   wouldn't have used the slightly more expensive 2.5" drives in the
  286.   A1200-HD.
  287.   
  288.   2 The Operating System
  289.   **********************
  290.   
  291.      This chapter handles questions concerning the operating system,
  292.   Kickstart as well as the Workbench.
  293.   
  294.   2.1 Can I use another Kickstart than the builtin?
  295.   =================================================
  296.   
  297.      First let's drop some words on the Kickstart's Copyright: This
  298.   belongs to Commodore, you *must not* use Kickstarts, without the right
  299.   to do it!  Especially it isn't allowed to make an image of anyone
  300.   else's Kickstart and run this on your own Amiga. (I even doubt that it
  301.   is allowed to do this on your own Amigas, if you have more than one.)
  302.   
  303.      But of course it is possible and allowed for some people, developers
  304.   for example.  There are two different ways, a hardware solution and a
  305.   software solution.  The former is to buy a card which can hold two or
  306.   more Kickstart ROMS and allows to select between when the System is
  307.   booting.
  308.   
  309.      The software solution needs a program (softkicker) and an image of
  310.   the ROM. The softkicker allocates RAM, loads the ROM image into the
  311.   allocated memory and reboots. Of course you have less RAM after the
  312.   Reboot: 256Kb when running Kickstart 1.2 or 1.3 and 512Kb for Kickstart
  313.   2.0 or higher.
  314.   
  315.      There are different Softkickers, some of them needing a MMU (see
  316.   68EC0xx). I recommend SKick 3.43 (Aminet, directory `util/boot')
  317.   because it doesn't need a MMU and supports many different Kickstarts.
  318.   It is rather easy to create the ROM image using the following program:
  319.   
  320.            #include <stdio.h>
  321.        
  322.            #define kickorig 0xf80000   /*  0xfc0000 for Kick 1.2 und 1.3   */
  323.            #define kicklen  0x080000   /*  0x040000 for Kick 1.2 und 1.3   */
  324.        
  325.            void main(int argc, char*argv[])
  326.            {
  327.                FILE *fh;
  328.        
  329.                if ((fh = fopen("kickstart.file", "w"))  !=  NULL) {
  330.                    result = fwrite(kickorig, kicklen, 1, fh);
  331.                }
  332.                fclose(fh);
  333.            }
  334.   
  335.   2.2 The Graphical User Interface
  336.   ================================
  337.   
  338.      Die standardmäßig mitgelieferte Oberfläche "Workbench" ist nur die
  339.   Grundlage zum Aufbau einer guten, angenehmen Oberfläche.
  340.   
  341.      Zu diesem Zweck gibt es zahlreiche Tools, die den Anwendern das
  342.   Leben erleichtern.  Einige von diesem findet man auf dem Aminet in den
  343.   Verzeichnissen `util/#?/'.
  344.   
  345.   2.3 What is MUI?
  346.   ================
  347.   
  348.      MUI is a set of shared libraries which are used to build a
  349.   comfortable GUI (`Graphical user interface'). The general idea of MUI
  350.   is that the programmer determines only the logical structure of the GUI
  351.   and the look (Font, Size, Windows on Workbench, Public Screen, own
  352.   Screen, ...) is determined by the user only. From the programmers point
  353.   of view using MUI is simpler than `gadtools.library' but much more
  354.   powerful. On the other hand MUI interfaces are slower than
  355.   GadTools-Interfaces, especially on old 68000 machines.
  356.   
  357.      MUI is found in two archives, one for developers only and one for
  358.   users. Source: Aminet, `dev/misc'.
  359.   
  360.   2.3.1 Icon collections and Backgrounds
  361.   --------------------------------------
  362.   
  363.      The standard icons aren't beautiful, indeed.  But there do exist
  364.   some beautiful icon collections.  I know of `MagicWB' and `NewIcons'.
  365.   
  366.      `MagicWB' is Shareware. The icons are drawn beautiful in pastel with
  367.   every known trick. You also get a lot of good backgrounds which
  368.   beautify workbench windows and MUI programs.  Fine and good readable
  369.   fonts replace the clumsy topaz8 font.  You also get good icons for the
  370.   ToolManager.  You can find a test version of MagicWB on Aminet.
  371.   
  372.      `NewIcons' is Freeware. The icons do have relative intensive colors
  373.   and are drawn as three dimensional objects floating slanted in space.
  374.   You can find NewIcons on Aminet, `util/wb/NewIcons.lha'.
  375.   
  376.   *F:*
  377.        How do I turn off the "Gag" of MagicWorkbench (the intro which
  378.        appears sometimes during booting)?
  379.   
  380.   *A:*
  381.        In S: should be a file called `mti.data'. Delete it.
  382.   
  383.   *F:*
  384.        How can I create NewIcons?
  385.   
  386.   *A:*
  387.        The author of NewIcon currently works on an IconEd. Until then,
  388.        Iconian 2.9x (I3) is the only way to create NewIcons.
  389.   
  390.   *F:*
  391.        How can I prevent MagicWorkbench Icons to appear in incorrect
  392.        colors?
  393.   
  394.   *A:*
  395.        Register MagicWB 2.0, it contains a tool which patches the palette,
  396.        or get one of the different tools from Aminet.
  397.   
  398.   *MagicColors*
  399.   *ShoveColors*
  400.        Its a good program, you can find it in Iconian, PictIcon or
  401.        `Aminet:util/wb/').
  402.   
  403.   2.4 What is the Amiga equivalent of . (Current directory)?
  404.   ==========================================================
  405.   
  406.      The AmigaDOS equivalent for the . representing the current directory
  407.   on Unix and certain non-reentrant interrupt handlers is the empty
  408.   string, which is written as "".
  409.   
  410.      Example:
  411.            COPY S:Startup-Sequence ""
  412.   
  413.   copies your Startup-Sequence to the current directory.
  414.   
  415.      There is some FD software available to patch a Unix-like
  416.   interpretation of . and .. into the AmigaDOS, including, but not
  417.   limited to, Martin Scott's UnixDirs. (Aminet,
  418.   `os20/util/UnixDirsII.lha' or Fish-disk 837)
  419.   
  420.      Arno Eigenwillig (arno@yaps.dinoco.de)
  421.   
  422.   2.5 The PIPE: queue-handler
  423.   ===========================
  424.   
  425.      In the AmigaOS release 2.04, a new handler for passing data between
  426.   programs was introduced. This handler is called `L:Queue-Handler',
  427.   better known as the `PIPE:' device.
  428.   
  429.      `PIPE:' implements a true `pipe' familiar from UNIX systems.  Its
  430.   function is to pass the output of one program to another program as
  431.   input. You can chain several programs together using multiple pipes.
  432.   
  433.      The advantages of using pipes are:
  434.     1. No need for a lot of RAM to keep the temporary files, or, no need
  435.        to slow things down by storing temporary files on the HD.
  436.   
  437.     2. Faster operation since the intermediate data doesn't need to be
  438.        stored anywhere between programs.
  439.   
  440.      The `PIPE:' device differs from the UNIX pipes in two important
  441.   respects:
  442.     1. It is a device, so the input and output of the programs doesn't
  443.        need to be a redirected standard output, although that is the
  444.        general case. You can also use `PIPE:' instead of files, with two
  445.        restrictions; you can not read a directory from `PIPE:', and the
  446.        `PIPE:' `file' can not be `seeked' in.
  447.   
  448.     2. It does not support a flush operation. If all of the data written
  449.        in a `PIPE:' device is not read out, it will stay there, buffered.
  450.        Thus you must always `empty' a pipe before closing it.
  451.   
  452.     3. Because of the above, if unread data exceeds the size of the
  453.        `PIPE:' internal buffer, the program writing to the pipe will
  454.        `block' (that is, suspend operation) until the data is read. See
  455.        below on how to manually flush a pipe.
  456.   
  457.      The PIPE: handler name syntax is `PIPE:name/bufsize/bufnum', where
  458.   `name' is the name for the pipe channel. Using names you can have
  459.   several simultaneous pipe operations. The optional arguments
  460.   `bufsize'and `bufnum' specify the size and number of the buffers used
  461.   by `PIPE:'. Normally, you would just use `PIPE:name'.
  462.   
  463.      The default buffer size of `PIPE:' is 4096 bytes, and the number of
  464.   buffers (ie. channels) is unlimited.
  465.   
  466.      Osma Ahvenlampi (Osma.Ahvenlampi@hut.fi)
  467.   
  468.   2.5.1 Using PIPE: in a standard AmigaShell environment
  469.   ------------------------------------------------------
  470.   
  471.      First, make sure `PIPE:' is mounted. You can do this by giving the
  472.   command
  473.            1> Mount PIPE:
  474.   
  475.   in a Shell window. On an AmigaOS 2.1+ system, `PIPE:' is normally
  476.   mounted on startup by placing the mount entry file `PIPE' in the drawer
  477.   `DEVS:DosDrivers'.
  478.   
  479.      In an AmigaShell window, give the commands:
  480.            1> Run List SYS: >PIPE:Listoutput
  481.            1> More <PIPE:Listoutput
  482.   
  483.   (1)
  484.   
  485.      These two commands list the contents of the `SYS:' volume to a pipe
  486.   and then type it in the Shell window. You could also use:
  487.            1> Run List SYS: NOHEAD >PIPE:Listoutput
  488.            1> Run Sort PIPE:Listoutput PIPE:Sortedoutput
  489.            1> More <PIPE:Sortedoutput
  490.   
  491.   Notice that you need to `Run' all the programs except for the last one.
  492.   This is so that you can get them all running simultaneously. You could
  493.   also use several Shell windows, or any other way of running all the
  494.   programs at the same time. Also this might not work if `More' isn't the
  495.   standard Commodore AmigaOS 2.04+ More found in `SYS:Utilities'.
  496.   
  497.      In case you need to manually flush a pipe, for example because the
  498.   program that was reading from it aborts prematurely, it can be done
  499.   with the command:
  500.            1> Type PIPE:name TO NIL:
  501.   
  502.      ---------- Footnotes ----------
  503.   
  504.      (1)  Note that `1>' is the prompt AmigaShell gives when it is
  505.   waiting for a command. The number varies, and the prompt can be
  506.   customised to look completely different. It is not a part of the
  507.   command.
  508.   
  509.   2.5.2 The Pipe command
  510.   ----------------------
  511.   
  512.      As you can see, this is a somewhat difficult way of using pipes,
  513.   needing a lot of typing especially compared to the UNIX pipes. There is
  514.   a solution for that.
  515.   
  516.      Andy Finkel, a former Commodore software engineer wrote a command
  517.   called `Pipe' (not to be confused with `PIPE:') that simplifies the use
  518.   of the `PIPE:' device. Unfortunately, this command did not make it into
  519.   the 2.04 release. However, Commodore has given the permission to
  520.   distribute this, and a few other commands, freely. (Sources: Fish disk
  521.   673, Aminet, `util/cli/finkelshelltools.lha')
  522.   
  523.      For some reason Commodore did not include these commands in the later
  524.   OS releases, although they work fine even with OS 3.1 (V40). Thus all
  525.   users are required to get them from the above sources if they wish to
  526.   use them.
  527.   
  528.      The Pipe command usage is simple. The commands to be run with their
  529.   inputs and outputs piped together are given as arguments to the
  530.   command, separated by the | (vertical bar) character:
  531.   
  532.            1> Pipe List SYS: | More
  533.                or
  534.            1> Pipe List: SYS: NOHEAD | Sort IN: OUT: | More
  535.   
  536.   Notice how Sort needs `IN:' and `OUT:'. These devices don't actually
  537.   exist, but the Pipe command simulates them with the PIPE:. This is
  538.   necessary because C:Sort can not use the `standard IO', but insists on
  539.   files.
  540.   
  541.      The separator character | can be configured to be something else
  542.   with the local variable __PCHAR.
  543.   
  544.   2.5.3 Pipe command support in AmigaShell
  545.   ----------------------------------------
  546.   
  547.      There is a little known and quite useful undocumented feature built
  548.   in the 2.04+ AmigaShell, that is, AmigaShell knows about the `Pipe'
  549.   command. By setting the local variable _PCHAR, you can use pipes
  550.   without even entering the Pipe command. AmigaShell will prepend it on
  551.   the command line automatically if it sees the pipe separator command
  552.   specified by _pchar on the command line.
  553.   
  554.      Thus, after the command:
  555.            1> Set _pchar "|"
  556.   
  557.   (1)
  558.   
  559.      the above examples can be used like this:
  560.            1> List SYS: | More
  561.                or
  562.            1> List SYS: NOHEAD | Sort IN: OUT: | More
  563.   
  564.      Those familiar with the UNIX pipes will notice how the usage is very
  565.   similar to the UNIX pipe usage.
  566.   
  567.      ---------- Footnotes ----------
  568.   
  569.      (1)  The quotes around the vertical bar are important, to avoid
  570.   AmigaShell interpreting the command as an attempt to use PIPE:, if
  571.   _PCHAR is already set (for example if the Shell is started from within
  572.   another one).
  573.   
  574.   2.5.4 Quick usage guide
  575.   -----------------------
  576.   
  577.     1. Get the ShellTools archive from the Fish disk 673, or from Aminet,
  578.        `util/cli/hacks204.lha'.
  579.   
  580.     2. Install the commands in this archive in your Shell search path,
  581.        preferably C:.
  582.   
  583.     3. Put the command `Set _pchar |' in your `S:Shell-Startup' file.
  584.   
  585.     4. Restart your AmigaShell so that it reads the `S:Shell-Startup'.
  586.   
  587.     5. Try `List SYS: | More'
  588.   
  589.     6. Read the ShellTools documentation and experiment.
  590.   
  591.   2.5.5 Related things
  592.   --------------------
  593.   
  594.      The variable _mchar is used to separate one command from another in
  595.   a shell line.  So, after the command:
  596.            1> Set _mchar ";"
  597.      you can put more shell commands into the same line, separated from
  598.   each other by `;'.
  599.   
  600.   2.5.6 Troubleshooting
  601.   ---------------------
  602.   
  603.   *Q:*
  604.        When I try the command `List SYS: | More' I get an error
  605.                 PIPE: Unknown command
  606.   
  607.        I have `PIPE:' mounted, what's wrong?
  608.   
  609.   *A:*
  610.        AmigaShell is referring to the command `Pipe' in the error, not the
  611.        `PIPE:' device. You haven't installed the commands in the
  612.        ShellTools archive.
  613.   
  614.   *Q:*
  615.        I get a requester that says
  616.                 Please insert volume PIPE: in any drive
  617.   
  618.        when I try any of the command examples.
  619.   
  620.   *A:*
  621.        `PIPE:' is not mounted. Try `Mount PIPE:'. If that doesn't work,
  622.        refer to your AmigaDOS manual or a friend that knows how to mount
  623.        devices.
  624.   
  625.   *Q:*
  626.        When I try any of the examples the More window pops up but nothing
  627.        is shown/I get an error afterwards/More pops up a file requester.
  628.   
  629.   *A:*
  630.        You are not using the standard AmigaOS `More' command. Either use
  631.        another name or install a command that supports pipes.
  632.        Possibilities are the C= More, Less, or Most for example.
  633.   
  634.   *Q:*
  635.        With use of PIPE:, sometimes characters get lost. What happened?
  636.   
  637.   *A:*
  638.        Up to OS 3.1, the queue-handler has some bugs which don't allow a
  639.        really foolproof transmission of data.  A compatible replacement
  640.        for the queue-handler can be founbd on Aminet,
  641.        `util/sys/HWGQueue.lha'.
  642.   
  643.   *Q:*
  644.        None of these happen but it still doesn't work as you described.
  645.   
  646.   *A:*
  647.        Are you using OS 2.04 later? Are you using the standard AmigaShell?
  648.        Try with all extras disabled.
  649.   
  650.   2.6 ARexx, the program control language
  651.   =======================================
  652.   
  653.   *Q:*
  654.        I want to send an ARexx command through CLI or through a shell
  655.        script, but that (rx ADDRESS PORTNAME;COMMAND) doesnt work.
  656.   
  657.   *A:*
  658.        You have to put quotation marks. (rx "ADDRESS PORTNAME;COMMAND").
  659.        It also prevents upcasing the portname when it should be lowercase.
  660.   
  661.   3 How about Graphics?
  662.   *********************
  663.   
  664.      Graphics is one of the major strengths of the Amiga. Why don't we
  665.   have more answers here? :-(
  666.   
  667.   3.1 What are chunky and planar displays?
  668.   ========================================
  669.   
  670.      Simply put, the terms `chunky' and `planar' (short for `bitplanar')
  671.   refer to different ways of storing graphics information in a computer's
  672.   memory. They are rather easy to understand, as far as things go, but
  673.   incredibly difficult to explain:
  674.   
  675.      Computer images are arranged as a grid of pixels, each of which can
  676.   be thought of as a number representing the color number of the pixel,
  677.   sort of like a paint-by-numbers scheme.  For example, here's a
  678.   simplified example image, in four colors:
  679.   
  680.           00302132
  681.   
  682.      The Amiga stores this image in a `bitplane' mode. That is, it is
  683.   represented by several planes of bits (binary digits, 1s or 0s). This
  684.   is a four-color image, so each color number could be represented by two
  685.   bits.  Therefore there are two bitplanes:
  686.   
  687.           00100110    Here's bitplane 0
  688.           00101011    And here's bitplane 1
  689.           --------    Now, let's add them up, binary style:
  690.           00302132
  691.   
  692.      Which is the final image. If the image was in two dimensions, it
  693.   would truly be composed of bit planes. However, I'd need three
  694.   dimensions to show multiple bitplanes overlayed, and therefore for
  695.   simplicity we're working in one dimension (which is all we need).
  696.   
  697.      Now, there's another way of storing this image.  How about if we
  698.   localize the bit data in little chunks?
  699.   
  700.           00 00 11 00 01 10 11 01 = 00302132
  701.   
  702.      This is the principle of the `chunky' pixel mode.
  703.   
  704.      Both methods of image storage are perfectly logical, and no one can
  705.   say that one is better than the other. However, there are certain
  706.   technical aspects which cause certain advantages and disadvantages.
  707.   
  708.      First, if you've seen colored text scroll on your Amiga, you know
  709.   there is a bit of "flicker" that arises. Specifically, what happens is
  710.   that while the text is scrolling, its color temporarily changes to
  711.   something completely different. What's happening is that the computer's
  712.   moving several bitplanes of data while the raster (monitor electron
  713.   gun) is sweeping across the screen. What that means is that, if the
  714.   raster catches the data while it's being moved, you can end up with some
  715.   bitplanes being moved and some not. What if we filled bitplane 1 in the
  716.   example above with 0s? Instantly all the 3s become 1s, and the 2s
  717.   become 0s! This is what causes "flicker" when certain colors are
  718.   scrolled. By contrast, if a chunky pixel display is caught while
  719.   scrolling, all we see is a partially-scrolled image; the colors are
  720.   preserved (since their units are the small ones).
  721.   
  722.      That's a disadvantage to planar pixels, but what about chunky pixels?
  723.   Well, recall that a computer organizes information in terms of 8 bit
  724.   bytes. These groups are static; you cannot decide to all of a sudden
  725.   organize data in terms of three bytes or something! Therefore, when
  726.   using chunky pixels, things get complicated if we decide to use a
  727.   nonconvenient number of bits per pixel. In practice, the 8-bit
  728.   (256-color) mode, and 24-bit (16 million color) modes are the most
  729.   common candidates for chunky pixel displays.
  730.   
  731.      Finally, certain effects can be accomplished with the different
  732.   systems.  Bitplanar mode is particularly useful for things like shadows
  733.   (where an extra bitplane is set with 1s instead of 0s), and chunky mode
  734.   is great for perspective and "mapping" (since the data for each pixel is
  735.   localized in a single "chunk"). The latter advantage makes chunky pixel
  736.   mode really great for games, and is what made Wolfenstein 3-D possible.
  737.   
  738.      We all know that Amigas use the bitplane system for storing images.
  739.   However, the Macintosh and PC(VGA) both use chunky pixel modes. While
  740.   we can optimize our RAM usage with "bizarre" modes like 8- and
  741.   128-color, they gain the advantages of non-flicker scrolling, and the
  742.   programming simplicity of just writing a byte where you want the pixel
  743.   to go.
  744.   
  745.      The difference between the two modes becomes problematic in things
  746.   like emulation. EMPLANT has a "chunky to planar" routine which it uses
  747.   to convert a Macintosh display into an Amiga one. "Chunky to planar"
  748.   routines are also useful for getting chunky-inclined things to run on
  749.   Amigas (see TMAPDemo, rotdemo). On a side note, there was some
  750.   confusion as to what EMPLANT used the MMU for with regard to chunky to
  751.   planar. The MMU itself is incapable of performing the algorithm for the
  752.   conversion; rather, it is used to detect what portions of the display
  753.   memory are updated from the Mac side, and therefore the processor is
  754.   saved from having to perform the chunky to planar conversion for the
  755.   entire display.
  756.   
  757.      I sincerely hope that helped clear up most of the mystery concerning
  758.   the terms "Chunky" and "Planar"!
  759.   
  760.      (Joseph Luk, jluc@eis.calstate.edu)
  761.   
  762.   3.2 What is doublebuffering?
  763.   ============================
  764.   
  765.      Don't be ashamed if you haven't a clue as to what this is. It's
  766.   rather simple, really. Imagine you wanted to animate something by
  767.   drawing out each frame. Now imagine you had only one piece of paper.
  768.   Even if you drew pretty fast, it would be difficult to see what the
  769.   animation looks like because you'd have to erase the frame you just
  770.   drew, in order to draw the next one!
  771.   
  772.      What if you had two pieces of paper? Why, then, you could see the
  773.   difference between two adjacent frames. First you'd draw your first
  774.   frame on the first piece of paper, then you'd draw the second frame on
  775.   the other piece.  Then you'd erase the picture on the first piece of
  776.   paper, and draw in the third frame. Then you'd erase the picture on the
  777.   second piece of paper, and draw in the fourth frame, and so forth.
  778.   
  779.      This is the principle of doublebuffering. The computer shows you the
  780.   picture it just drew, then turns around and draws the next one. It then
  781.   swaps the picture in front of you with the one it just drew, and
  782.   repeats the process. The result is a smooth animation, because you
  783.   never need to see the computer draw; all you see is each finished
  784.   product.
  785.   
  786.      (Joseph Luk, jluc@eis.calstate.edu)
  787.   
  788.   3.3 What monitors will work on my Amiga 1200/4000?
  789.   ==================================================
  790.   
  791.      Monitors can be classified after the horizontal scan frequency they
  792.   require.  TVs, as well as C='s 1084 monitor, need frequencies around 15
  793.   kHz. VGA/SVGA need approx. 30 kHz. Multisync monitors can take many
  794.   frequencies.
  795.   
  796.      In short: You can use any monitor you want with an A1200. BUT:
  797.   
  798.      - If you use a regular VGA/SVGA monitor, you can only use a few
  799.        display modes (like DblPAL, DblNTSC and/or Productivity). I.e.
  800.        (320|640) x (256|512|1024) for DblPAL. This is great for Workbench
  801.        and all "serious" utilities (DTP etc), but don't expect any games
  802.        to work... they don't use your preferences, just take over the
  803.        machine and assume a 15 kHz monitor. Also, you cannot utilize the
  804.        "Early Startup Control" screen (you know, disable cache, and that
  805.        stuff), which also requires a 15 kHz monitor. Furthermore, VGA
  806.        monitors don't have speakers. And the VGA-type modes don't support
  807.        Genlocks. But for a lot of "serious" work, a VGA monitor is quite
  808.        adequate.
  809.   
  810.      - You already know what happens with a 15 kHz monitor; the
  811.        flickering in Interlace mode. A small tip: Try to use NTSC instead
  812.        of PAL. This increases the refresh rate from 25 Hz to 30 Hz, at
  813.        the expense of lower vertical resolution (482 lines maximum). The
  814.        NTSC and PAL modes aren't as bad as many people think. If your
  815.        monitor has a lot of phosphorous (long afterglow), PAL Laced can
  816.        be quite OK, and it gives you a resolution of 1448x566 in
  817.        SuperHiRes. That's the highest resolution currently supported on
  818.        AGA Amigas, in _any_ display mode.
  819.   
  820.      - A Multisync gives you the best of both worlds. The 1940 and 1942
  821.        monitors from C= are quite OK, although rather cumbersome to
  822.        use... The h/v size and offset must be set manually each time you
  823.        switch display mode.  (1) The 1960 monitor doesn't have this
  824.        problem, but it's a bit more expensive.
  825.   
  826.      For a VGA/SVGA or Multisync monitor, you'd need a little shiny box
  827.   which gives you the standard 15-pin "D" connector. It costs around $15.
  828.   
  829.      There are other alternatives... like the "AmiVGA" box ($50 or so),
  830.   which I think is a cheapo version of the Flicker Fixer. (But it's
  831.   really a shame to use this on an AGA Amiga.)
  832.   
  833.      Also, you can get a VGA monitor, and hook up your TV to the
  834.   composite or RF port on the Amiga - one monitor for games, one for
  835.   serious stuff.
  836.   
  837.      (Per Espen Hagen, per.e.hagen@ffi.no)
  838.   
  839.      ---------- Footnotes ----------
  840.   
  841.      (1)  A patch is available on Aminet for Kickstart 3.0 to do this
  842.   without manual actions in the file `os30/util/Monitor30Patch.lha'.
  843.   
  844.   3.4 How do I switch between PAL and NTSC?
  845.   =========================================
  846.   
  847.      PAL and NTSC are two different video standards, the former being
  848.   European, and the latter being American. PAL has a slightly taller
  849.   screen (256 lines non-interlaced, non-overscanned) as opposed to NTSC
  850.   (200 lines), so if you see the bottom portion of a program's screen
  851.   getting cut off on your American machine, chances are the program was
  852.   written for PAL, and is running on your shorter NTSC screen. PAL and
  853.   NTSC differences are somewhat less important to European users; since
  854.   their machines default to PAL, running an NTSC program is no more than
  855.   a minor annoyance having the screen only appear in the top portion of
  856.   the display.
  857.   
  858.      Therefore, for us NTSC folks, switching into PAL mode becomes
  859.   important to avoid loss of some picture on Euro Demos, etc.
  860.   
  861.      First, the most common misconception about switching between PAL and
  862.   NTSC is that you need a Multiscan or special monitor for such a purpose.
  863.   Not so! Just about any monitor can handle the minor signal difference
  864.   between PAL and NTSC (50Hz vertical refresh versus 60Hz). The 108x,
  865.   19xx, and 20xx series, and even most TVs, can display both PAL and NTSC.
  866.   Sometimes it is necessary to perform minor tweaking of vertical hold
  867.   and/or v. size on your monitor to achieve full display, though this is
  868.   trivial.
  869.   
  870.      What IS needed to switch between PAL and NTSC in software, is a
  871.   "Fatter" (1MB) Agnus or better. If your system has more than 512K of
  872.   CHIP RAM (use the avail command to find out) you have this chip. If you
  873.   do not, ou can still construct a hardware switch (see below).
  874.   
  875.      The following directions assume you're an NTSC user who wants to
  876.   switch into PAL mode, but the procedure for going from PAL to NTSC is
  877.   much the same.
  878.   
  879.      The most common use of switching into PAL is for self-booting games,
  880.   demos, etc.  The best way to accomplish this on pre-3.0 systems is to
  881.   use Chris Hames' Degrader program (most recent version: 1.30). Once you
  882.   have procured this program, the switch is as simple as selecting
  883.   "50Hz", and "50Hz System", then installing the program's ROMTag (little
  884.   program that runs at boot-time) by pressing the "Survive Reset(s)"
  885.   button.
  886.   
  887.      AmigaDOS 3.0 added a PAL/NTSC switch feature to its Boot Menu, and
  888.   all you need to do in order to access this is hold down both mouse
  889.   buttons as the computer boots. Select Display Options, Display
  890.   Mode/PAL, and then Boot. If the program still fails to go into PAL mode
  891.   (Zool is one I've found), you may wish to get Degrader anyway and try
  892.   that.
  893.   
  894.      Software PAL/NTSC switching is easy and painless. Some people have
  895.   gone even further by installing hardware PAL/NTSC switches. This
  896.   results in a system which even the most nasty hardware-banging programs
  897.   can't bring to its original configuration (if it has been switched).
  898.   The procedure is simple - most Amigas have jumpers already - but beyond
  899.   the scope of this document.
  900.   
  901.      Therefore, if your screen is too short or cut off, seek the different
  902.   screen mode. You'll "see new horizons", literally!
  903.   
  904.      (Joseph Luk, jluc@eis.calstate.edu)
  905.   
  906.      (1)
  907.   
  908.      ---------- Footnotes ----------
  909.   
  910.      (1)  PAL/NTSC switching with a MultiSync monitor is possible on 2.0+
  911.   and easily accomplished by moving the PAL monitor type to (or NTSC, as
  912.   applicable, I have them both in) the Devs/Monitors drawer (from the
  913.   Storage/Monitors drawer), reboot, then go into the Prefs drawer and
  914.   select the ScreenMode program. You will see at least two PAL modes
  915.   available (PAL and PAL Interlaced). Simply select one of the (usually
  916.   non-interlaced for demos) and select "Use". All windows on the Workbench
  917.   will close, the video mode will change, and then the windows will
  918.   reopen - that simple!
  919.   
  920.      Allen J. Newton, anewton@alturia.abq.nm.us
  921.   
  922.